<template>
    <div>
        <h2>编号：{{ route.query.id }}</h2>
        <h2>标题：{{ route.query.title }}</h2>
        <h2>内容：{{ route.query.content }}</h2>
    </div>
</template>
<script setup name="Detail">
    import {useRoute} from 'vue-router'
    let route=useRoute()
    console.log('@',route);

</script>